﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/Administrator/Views/Shared/admin.master" Inherits="System.Web.Mvc.ViewPage<CollegeWebsite.Areas.Administrator.Models.Course>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Details</h2>

    <fieldset>
        <legend>Fields</legend>
        
        <div class="display-label">CourseID</div>
        <div class="display-field"><%= Html.Encode(Model.CourseID) %></div>
        
        <div class="display-label">DepartmentName</div>
        <div class="display-field"><%= Html.Encode(Model.Department.DepartmentName) %></div>
        
        <div class="display-label">CourseName</div>
        <div class="display-field"><%= Html.Encode(Model.CourseName) %></div>
        
        <div class="display-label">CourseCapicity</div>
        <div class="display-field"><%= Html.Encode(Model.CourseCapicity) %></div>
        
        <div class="display-label">CourseFee</div>
        <div class="display-field"><%= Html.Encode(String.Format("{0:F}", Model.CourseFee)) %></div>
        
        <div class="display-label">Status</div>
        <div class="display-field"><%= Html.Encode(Model.Status) %></div>
        
    </fieldset>
    <p>

        <%= Html.ActionLink("Edit", "Edit", new { id=Model.CourseID }) %> |
        <%= Html.ActionLink("Back to List", "Index") %>
    </p>

</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="TitleContentPlaceHolder" runat="server">
</asp:Content>

